package com.menggudf.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="blacklist")
public class BlackList
  implements Serializable
{
  private static final long serialVersionUID = 246063680277139624L;
  private int id;
  private String num;
  private Integer type;
  
  @Id
  @Column(name="id", unique=true, nullable=false)
  @GeneratedValue(strategy=GenerationType.IDENTITY)
  public int getId()
  {
    return this.id;
  }
  
  public void setId(int id)
  {
    this.id = id;
  }
  
  @Column(name="num")
  public String getNum()
  {
    return this.num;
  }
  
  public void setNum(String num)
  {
    this.num = num;
  }
  
  @Column(name="type")
  public Integer getType()
  {
    return this.type;
  }
  
  public void setType(Integer type)
  {
    this.type = type;
  }
}
